package com.kgc.store.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OutStoreDetail implements Serializable {
    private Integer id;
    private String outStoreCode;
    private Integer goodId;
    private String goodsCode;
    private String goodsName;
    private Integer stock;
    private String kname;
    private String goodsType;
    private double tax;
    private Integer count;
    private String notes;
    private Integer storeId;
    private String storeName;
    private String unit;
    private BigDecimal price;
    private BigDecimal taxSinglePrice;
    private BigDecimal taxSumPrice;
    private BigDecimal sumPrice;
    private BigDecimal outStoreSingleCost;
    private BigDecimal outStoreSumCost;

    private Integer isDelete;
    private Integer createId;
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createDate;
    private Integer updateId;
    private String updateName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOutStoreCode() {
        return outStoreCode;
    }

    public void setOutStoreCode(String outStoreCode) {
        this.outStoreCode = outStoreCode;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getKname() {
        return kname;
    }

    public void setKname(String kname) {
        this.kname = kname;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public double getTax() {
        return tax;
    }

    public void setTax(double tax) {
        this.tax = tax;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTaxSinglePrice() {
        return taxSinglePrice;
    }

    public void setTaxSinglePrice(BigDecimal taxSinglePrice) {
        this.taxSinglePrice = taxSinglePrice;
    }

    public BigDecimal getTaxSumPrice() {
        return taxSumPrice;
    }

    public void setTaxSumPrice(BigDecimal taxSumPrice) {
        this.taxSumPrice = taxSumPrice;
    }

    public BigDecimal getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(BigDecimal sumPrice) {
        this.sumPrice = sumPrice;
    }

    public BigDecimal getOutStoreSingleCost() {
        return outStoreSingleCost;
    }

    public void setOutStoreSingleCost(BigDecimal outStoreSingleCost) {
        this.outStoreSingleCost = outStoreSingleCost;
    }

    public BigDecimal getOutStoreSumCost() {
        return outStoreSumCost;
    }

    public void setOutStoreSumCost(BigDecimal outStoreSumCost) {
        this.outStoreSumCost = outStoreSumCost;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    public String toString() {
        return "OutStoreDetail{" +
                "id=" + id +
                ", outStoreCode='" + outStoreCode + '\'' +
                ", goodId=" + goodId +
                ", goodsCode='" + goodsCode + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", stock=" + stock +
                ", kname='" + kname + '\'' +
                ", goodsType='" + goodsType + '\'' +
                ", tax=" + tax +
                ", count=" + count +
                ", notes='" + notes + '\'' +
                ", storeId=" + storeId +
                ", storeName='" + storeName + '\'' +
                ", unit='" + unit + '\'' +
                ", price=" + price +
                ", taxSinglePrice=" + taxSinglePrice +
                ", taxSumPrice=" + taxSumPrice +
                ", sumPrice=" + sumPrice +
                ", outStoreSingleCost=" + outStoreSingleCost +
                ", outStoreSumCost=" + outStoreSumCost +
                ", isDelete=" + isDelete +
                ", createId=" + createId +
                ", createName='" + createName + '\'' +
                ", createDate=" + createDate +
                ", updateId=" + updateId +
                ", updateName='" + updateName + '\'' +
                ", updateDate=" + updateDate +
                '}';
    }
}
